package com.ruoyi.personal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 个人履历对象 personal_resume
 * 
 * @author ruoyi
 * @date 2024-09-27
 */
public class PersonalResume extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 个人履历唯一标识 */
    private Long id;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 工作地点 */
    @Excel(name = "工作地点")
    private String location;

    /** 职位 */
    @Excel(name = "职位")
    private String position;

    /** 消防员id */
    @Excel(name = "消防员id")
    private Long firefighterId;

    /** 消防员姓名 */
    @Excel(name = "消防员姓名")
    private String firefighterName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setFirefighterId(Long firefighterId) 
    {
        this.firefighterId = firefighterId;
    }

    public Long getFirefighterId() 
    {
        return firefighterId;
    }
    public void setFirefighterName(String firefighterName) 
    {
        this.firefighterName = firefighterName;
    }

    public String getFirefighterName() 
    {
        return firefighterName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("location", getLocation())
            .append("position", getPosition())
            .append("firefighterId", getFirefighterId())
            .append("firefighterName", getFirefighterName())
            .toString();
    }
}
